package com.joysuch.wwyt.risk.repository;

import com.joysuch.wwyt.risk.entity.RiskEvaluationBusiness;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.Set;

public interface RiskEvaluationBusinessDao extends JpaRepository<RiskEvaluationBusiness, Long> {

    RiskEvaluationBusiness findByRiskDistrictId(Long riskDistrictId);

    List<RiskEvaluationBusiness> findByRiskDistrictIdIn(Set<Long> districtIds);
}
